import { createRouter, createWebHistory } from 'vue-router'
import no from '../components/no.vue'
import sc from '../components/sc.vue'
import all from '../components/all.vue'
import input from '../components/login/input.vue'
import two from '../components/login/two.vue'
const routes = [
    {
        path: '/no',
        name: 'no',
        component: no
    }, 
    {
        path: '/sc',
        name: 'sc',
        component: sc,
    },
    {
        path: '/all',
        name: 'all',
        component: all,
    },
    {
        path: '/',
        redirect: '/all',

    },
    // {
    //     path: '/input',
    //     name: 'input',
    //     component: input,
    // },
    // {
    //     path: '/two',
    //     name: 'two',
    //     component: two,
    // },
    // {
    //     path: '/',
    //     redirect: '/input',
    // },
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router